<div class="statuses view">
<h2><?php  __('Status');?></h2>
	<dl><?php $i = 0; $class = ' class="altrow"';?>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Id'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $status['Status']['id']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Statusname'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $status['Status']['statusname']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Statusgroup'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $this->Html->link($status['Statusgroup']['id'], array('controller' => 'statusgroups', 'action' => 'view', $status['Statusgroup']['id'])); ?>
			&nbsp;
		</dd>
	</dl>
</div>
<div class="actions">
	<h3><?php __('Actions'); ?></h3>
	<ul>
		<li><?php echo $this->Html->link(__('Edit Status', true), array('action' => 'edit', $status['Status']['id'])); ?> </li>
		<li><?php echo $this->Html->link(__('Delete Status', true), array('action' => 'delete', $status['Status']['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $status['Status']['id'])); ?> </li>
		<li><?php echo $this->Html->link(__('List Statuses', true), array('action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Status', true), array('action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Statusgroups', true), array('controller' => 'statusgroups', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Statusgroup', true), array('controller' => 'statusgroups', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Adresscorrections', true), array('controller' => 'adresscorrections', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Adresscorrection', true), array('controller' => 'adresscorrections', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Blacklists', true), array('controller' => 'blacklists', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Blacklist', true), array('controller' => 'blacklists', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Exceptionscases', true), array('controller' => 'exceptionscases', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Exceptionscase', true), array('controller' => 'exceptionscases', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Macs', true), array('controller' => 'macs', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Mac', true), array('controller' => 'macs', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Pondcases', true), array('controller' => 'pondcases', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Pondcase', true), array('controller' => 'pondcases', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Runshasstatusruns', true), array('controller' => 'runshasstatusruns', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Runshasstatusrun', true), array('controller' => 'runshasstatusruns', 'action' => 'add')); ?> </li>
	</ul>
</div>
<div class="related">
	<h3><?php __('Related Adresscorrections');?></h3>
	<?php if (!empty($status['Adresscorrection'])):?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php __('Id'); ?></th>
		<th><?php __('Customer Id'); ?></th>
		<th><?php __('Status Id'); ?></th>
		<th class="actions"><?php __('Actions');?></th>
	</tr>
	<?php
		$i = 0;
		foreach ($status['Adresscorrection'] as $adresscorrection):
			$class = null;
			if ($i++ % 2 == 0) {
				$class = ' class="altrow"';
			}
		?>
		<tr<?php echo $class;?>>
			<td><?php echo $adresscorrection['id'];?></td>
			<td><?php echo $adresscorrection['customer_id'];?></td>
			<td><?php echo $adresscorrection['status_id'];?></td>
			<td class="actions">
				<?php echo $this->Html->link(__('View', true), array('controller' => 'adresscorrections', 'action' => 'view', $adresscorrection['id'])); ?>
				<?php echo $this->Html->link(__('Edit', true), array('controller' => 'adresscorrections', 'action' => 'edit', $adresscorrection['id'])); ?>
				<?php echo $this->Html->link(__('Delete', true), array('controller' => 'adresscorrections', 'action' => 'delete', $adresscorrection['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $adresscorrection['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>

	<div class="actions">
		<ul>
			<li><?php echo $this->Html->link(__('New Adresscorrection', true), array('controller' => 'adresscorrections', 'action' => 'add'));?> </li>
		</ul>
	</div>
</div>
<div class="related">
	<h3><?php __('Related Blacklists');?></h3>
	<?php if (!empty($status['Blacklist'])):?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php __('Id'); ?></th>
		<th><?php __('Date'); ?></th>
		<th><?php __('Mac Id'); ?></th>
		<th><?php __('Problem Id'); ?></th>
		<th><?php __('Status Id'); ?></th>
		<th class="actions"><?php __('Actions');?></th>
	</tr>
	<?php
		$i = 0;
		foreach ($status['Blacklist'] as $blacklist):
			$class = null;
			if ($i++ % 2 == 0) {
				$class = ' class="altrow"';
			}
		?>
		<tr<?php echo $class;?>>
			<td><?php echo $blacklist['id'];?></td>
			<td><?php echo $blacklist['date'];?></td>
			<td><?php echo $blacklist['mac_id'];?></td>
			<td><?php echo $blacklist['problem_id'];?></td>
			<td><?php echo $blacklist['status_id'];?></td>
			<td class="actions">
				<?php echo $this->Html->link(__('View', true), array('controller' => 'blacklists', 'action' => 'view', $blacklist['id'])); ?>
				<?php echo $this->Html->link(__('Edit', true), array('controller' => 'blacklists', 'action' => 'edit', $blacklist['id'])); ?>
				<?php echo $this->Html->link(__('Delete', true), array('controller' => 'blacklists', 'action' => 'delete', $blacklist['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $blacklist['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>

	<div class="actions">
		<ul>
			<li><?php echo $this->Html->link(__('New Blacklist', true), array('controller' => 'blacklists', 'action' => 'add'));?> </li>
		</ul>
	</div>
</div>
<div class="related">
	<h3><?php __('Related Exceptionscases');?></h3>
	<?php if (!empty($status['Exceptionscase'])):?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php __('Id'); ?></th>
		<th><?php __('Caseid'); ?></th>
		<th><?php __('Status Id'); ?></th>
		<th><?php __('Weborder Id'); ?></th>
		<th class="actions"><?php __('Actions');?></th>
	</tr>
	<?php
		$i = 0;
		foreach ($status['Exceptionscase'] as $exceptionscase):
			$class = null;
			if ($i++ % 2 == 0) {
				$class = ' class="altrow"';
			}
		?>
		<tr<?php echo $class;?>>
			<td><?php echo $exceptionscase['id'];?></td>
			<td><?php echo $exceptionscase['caseid'];?></td>
			<td><?php echo $exceptionscase['status_id'];?></td>
			<td><?php echo $exceptionscase['weborder_id'];?></td>
			<td class="actions">
				<?php echo $this->Html->link(__('View', true), array('controller' => 'exceptionscases', 'action' => 'view', $exceptionscase['id'])); ?>
				<?php echo $this->Html->link(__('Edit', true), array('controller' => 'exceptionscases', 'action' => 'edit', $exceptionscase['id'])); ?>
				<?php echo $this->Html->link(__('Delete', true), array('controller' => 'exceptionscases', 'action' => 'delete', $exceptionscase['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $exceptionscase['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>

	<div class="actions">
		<ul>
			<li><?php echo $this->Html->link(__('New Exceptionscase', true), array('controller' => 'exceptionscases', 'action' => 'add'));?> </li>
		</ul>
	</div>
</div>
<div class="related">
	<h3><?php __('Related Macs');?></h3>
	<?php if (!empty($status['Mac'])):?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php __('Id'); ?></th>
		<th><?php __('Mac'); ?></th>
		<th><?php __('Mactype Id'); ?></th>
		<th><?php __('Status Id'); ?></th>
		<th class="actions"><?php __('Actions');?></th>
	</tr>
	<?php
		$i = 0;
		foreach ($status['Mac'] as $mac):
			$class = null;
			if ($i++ % 2 == 0) {
				$class = ' class="altrow"';
			}
		?>
		<tr<?php echo $class;?>>
			<td><?php echo $mac['id'];?></td>
			<td><?php echo $mac['mac'];?></td>
			<td><?php echo $mac['mactype_id'];?></td>
			<td><?php echo $mac['status_id'];?></td>
			<td class="actions">
				<?php echo $this->Html->link(__('View', true), array('controller' => 'macs', 'action' => 'view', $mac['id'])); ?>
				<?php echo $this->Html->link(__('Edit', true), array('controller' => 'macs', 'action' => 'edit', $mac['id'])); ?>
				<?php echo $this->Html->link(__('Delete', true), array('controller' => 'macs', 'action' => 'delete', $mac['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $mac['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>

	<div class="actions">
		<ul>
			<li><?php echo $this->Html->link(__('New Mac', true), array('controller' => 'macs', 'action' => 'add'));?> </li>
		</ul>
	</div>
</div>
<div class="related">
	<h3><?php __('Related Pondcases');?></h3>
	<?php if (!empty($status['Pondcase'])):?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php __('Id'); ?></th>
		<th><?php __('Caseid'); ?></th>
		<th><?php __('Partrequest Id'); ?></th>
		<th><?php __('Status Id'); ?></th>
		<th class="actions"><?php __('Actions');?></th>
	</tr>
	<?php
		$i = 0;
		foreach ($status['Pondcase'] as $pondcase):
			$class = null;
			if ($i++ % 2 == 0) {
				$class = ' class="altrow"';
			}
		?>
		<tr<?php echo $class;?>>
			<td><?php echo $pondcase['id'];?></td>
			<td><?php echo $pondcase['caseid'];?></td>
			<td><?php echo $pondcase['partrequest_id'];?></td>
			<td><?php echo $pondcase['status_id'];?></td>
			<td class="actions">
				<?php echo $this->Html->link(__('View', true), array('controller' => 'pondcases', 'action' => 'view', $pondcase['id'])); ?>
				<?php echo $this->Html->link(__('Edit', true), array('controller' => 'pondcases', 'action' => 'edit', $pondcase['id'])); ?>
				<?php echo $this->Html->link(__('Delete', true), array('controller' => 'pondcases', 'action' => 'delete', $pondcase['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $pondcase['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>

	<div class="actions">
		<ul>
			<li><?php echo $this->Html->link(__('New Pondcase', true), array('controller' => 'pondcases', 'action' => 'add'));?> </li>
		</ul>
	</div>
</div>
<div class="related">
	<h3><?php __('Related Runshasstatusruns');?></h3>
	<?php if (!empty($status['Runshasstatusrun'])):?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php __('Id'); ?></th>
		<th><?php __('Run Id'); ?></th>
		<th><?php __('Status Id'); ?></th>
		<th><?php __('Date'); ?></th>
		<th class="actions"><?php __('Actions');?></th>
	</tr>
	<?php
		$i = 0;
		foreach ($status['Runshasstatusrun'] as $runshasstatusrun):
			$class = null;
			if ($i++ % 2 == 0) {
				$class = ' class="altrow"';
			}
		?>
		<tr<?php echo $class;?>>
			<td><?php echo $runshasstatusrun['id'];?></td>
			<td><?php echo $runshasstatusrun['run_id'];?></td>
			<td><?php echo $runshasstatusrun['status_id'];?></td>
			<td><?php echo $runshasstatusrun['date'];?></td>
			<td class="actions">
				<?php echo $this->Html->link(__('View', true), array('controller' => 'runshasstatusruns', 'action' => 'view', $runshasstatusrun['id'])); ?>
				<?php echo $this->Html->link(__('Edit', true), array('controller' => 'runshasstatusruns', 'action' => 'edit', $runshasstatusrun['id'])); ?>
				<?php echo $this->Html->link(__('Delete', true), array('controller' => 'runshasstatusruns', 'action' => 'delete', $runshasstatusrun['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $runshasstatusrun['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>

	<div class="actions">
		<ul>
			<li><?php echo $this->Html->link(__('New Runshasstatusrun', true), array('controller' => 'runshasstatusruns', 'action' => 'add'));?> </li>
		</ul>
	</div>
</div>
